




import request from '@/utils/request'


/**
 * 发砼统计
 * @param query
 * @returns {AxiosPromise}
 */
export function concreteList(query) {
  return request({
    url: '/service/concrete/list',
    method: 'get',
    params: query
  })
}

/**
 * 发砼明细
 * @param orderId
 * @returns {AxiosPromise}
 */
export function concreteInfoList(orderId) {
  return request({
    url: `/service/concrete/list/${orderId}`,
    method: 'get',
    params: orderId
  })
}

export function replyConcrete(query) {
    return request({
      url: '/service/concrete/reply-concrete',
      method: 'post',
      params: query
    })
  }

  export function getTimeLine(id) {
    return request({
      url: '/service/concrete/get-time-line/' + id,
      method: 'get'
    })
  }
